import request from '@/utils/request.js'

export function batchSave (data) {
  return request({
    url: '^/track/batchInsert',
    method: 'post',
    data
  })
}
export function deleteBatch (data) {
  return request({
    url: '^/track/deleteBatch',
    method: 'post',
    data
  })
}
export function listAll () {
  return request({
    url: '^/track/list',
    method: 'get'
  })
}
export function listByDate (date) {
  return request({
    url: '^/track/listByDate?date=' + date,
    method: 'get'
  })
}

